package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Entity
@Table(name = "h_hospital_config")
public class HospitalConfig implements Serializable {

	private static final long serialVersionUID = -7831117835434074361L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "net_config_bit", columnDefinition = "tinyint(1)")
	private Boolean netConfig;
	@Column(name = "net_must_open_bit", columnDefinition = "tinyint(1)")
	private Boolean netMustOpen;
	@Column(name = "net_self_price_bit", columnDefinition = "tinyint(1)")
	private Boolean netSelfPrice;
	@Column(name = "net_set_type_tinyint", columnDefinition = "tinyint(1) comment '统一=1,按级别=2'")
	private Integer netSetType;
	@Column(name = "net_valid_int", columnDefinition = "int(11) comment '分钟'")
	private Integer netValid;
	@Column(name = "net_price_money", columnDefinition = "decimal(10,2)")
	private BigDecimal netPrice;
	@Column(name = "img_text_bit", columnDefinition = "tinyint(1)")
	private Boolean imgText;
	@Column(name = "img_text_must_open_bit", columnDefinition = "tinyint(1)")
	private Boolean imgTextMustOpen;
	@Column(name = "img_text_self_price_bit", columnDefinition = "tinyint(1)")
	private Boolean imgTextSelfPrice;
	@Column(name = "img_text_set_type_tinyint", columnDefinition = "tinyint(1) comment '统一=1,按级别=2'")
	private Integer imgTextSetType;
	@Column(name = "img_text_valid_int", columnDefinition = "int(11) comment '分钟'")
	private Integer imgTextValid;
	@Column(name = "img_text_price_money", columnDefinition = "decimal(10,2)")
	private BigDecimal imgTextPrice;
	@Column(name = "phone_bit", columnDefinition = "tinyint(1)")
	private Boolean phone;
	@Column(name = "phone_must_open_bit", columnDefinition = "tinyint(1)")
	private Boolean phoneMustOpen;
	@Column(name = "phone_self_price_bit", columnDefinition = "tinyint(1)")
	private Boolean phoneSelfPrice;
	@Column(name = "phone_set_type_tinyint", columnDefinition = "tinyint(1) comment '统一=1,按级别=2'")
	private Integer phoneSetType;
	@Column(name = "phone_valid_int", columnDefinition = "int(11) comment '分钟'")
	private Integer phoneValid;
	@Column(name = "phone_price_money", columnDefinition = "decimal(10,2)")
	private BigDecimal phonePrice;
	@Column(name = "video_bit", columnDefinition = "tinyint(1)")
	private Boolean video;
	@Column(name = "video_must_open_bit", columnDefinition = "tinyint(1)")
	private Boolean videoMustOpen;
	@Column(name = "video_self_price_bit", columnDefinition = "tinyint(1)")
	private Boolean videoSelfPrice;
	@Column(name = "video_set_type_tinyint", columnDefinition = "tinyint(1) comment '统一=1,按级别=2'")
	private Integer videoSetType;
	@Column(name = "video_valid_int", columnDefinition = "int(11) comment '分钟'")
	private Integer videoValid;
	@Column(name = "video_price_money", columnDefinition = "decimal(10,2)")
	private BigDecimal videoPrice;
}
